﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DullBoard.Model;

namespace DullBoard
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new frmMain());

            /*
            var form = new Form();
            var post = new Post()
            {
                Author = new User()
                {
                    Name = "Sargy",
                    CharacterInfo = "90 Human Warrior",
                    Guild = "Royal Horticulturalists",
                    Realm = "Arathor",
                    AchievementPoints = 5000,
                    BlizzardTitle = null,
                    BlizzardUser = false
                },
                Date = DateTime.Now,
                BlizzardPost = false,
                Id = 12345678,
                Ordinal = 1,
                Detail = new List<PostDetail>()
                        {
                            new PostDetail()
                                {
                                    Ordinal = 1,
                                    IsLineBreak = false,
                                    IsQuote = true,
                                    QuoteName = "Aia",
                                    QuoteDate = DateTime.Now.ToString(),
                                    Text = "This is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quoteThis is a quote"
                                },
                            new PostDetail()
                                {
                                    Ordinal = 2,
                                    IsLineBreak = true
                                },
                            new PostDetail()
                                {
                                    Ordinal = 3,
                                    IsLineBreak = false,
                                    IsQuote = false,
                                    QuoteName = null,
                                    QuoteDate = null,
                                    Text = "This is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote responseThis is a quote response"
                                }
                        }
            };

            var ctl = new ctlPost(post);
            ctl.Load();
            form.Controls.Add(ctl);
            
            Application.Run(form);
             */
        }
    }
}
